init python:
    def process_employee(employee):
        #print employee.name.rjust(5), str(employee.activity).rjust(3)
        
        if employee.activity == SERVE:
            employee.charm = employee.charm + 1
            employee.stress = employee.stress + employee.serve_stress
        elif employee.activity == COOK:
            employee.craft = employee.craft + 1
            employee.stress = employee.stress + employee.cook_stress
        elif employee.activity == PERFORM:
            employee.coruage = employee.courage + 1
            employee.stress = employee.stress + employee.perform_stress
        elif employee.activity == HANGOUT:
            employee.add_friendship_pts(2)
        elif employee.activity == REST:
            employee.stress -= 25
            if employee.stress <= 0:
                employee.stress = 0
        
        print employee.name.rjust(10), str(employee.craft).rjust(10), str(employee.charm).rjust(10), str(employee.courage).rjust(10), str(employee.stress).rjust(10), str(employee.friendship).rjust(10)
        

label process_workday:
    
    python:
        
        #reset data
        prog_efficiency = 0
        prog_totalserve = 0
        prog_totalcook = 0
        prog_totalperform = 0
        
        print "      Name|     Craft|     Charm|   Courage|    Stress|Friendship"
        process_employee(astrid_stats)
        process_employee(blanche_stats)
        process_employee(kyra_stats)
        process_employee(zeno_stats)
        process_employee(ean_stats)
        process_employee(levi_stats)
        
        #calendar.advance_day()
        #"Welcome to the cafe! The date is Y[calendar.current_year], [calendar.current_month]/[calendar.current_date]"
        
#    $ days_to_work = days_to_work - 1
    
#    if days_to_work <= 0:
#        #TODO: Show the eck eck animations and results of day first!
#        jump cafe_endday
#    else:
#        jump advance_workday
    
    jump workday_complete